SimplePay\Core\Abstracts\Form B

Total Complexity 87
Dependencies 1
Dependents 5
Total lines 1,178
Lines of code 473
Logical lines of code 199
Comment lines 486
Methods 25
Properties 41

Methods 25

Method Rating Maintainability Complexity Lines of code
set_global_settings()
A
37 9 86
has_available_schedule()
A
50 8 32
get_stripe_script_variables()
A
49 8 31
adjust_inventory()
A
46 7 42
set_post_meta_settings()
A
40 4 76
get_redirect_url()
S
56 6 18
set_post_object()
S
59 6 15
get_api_request_args()
S
52 4 28
has_available_inventory()
S
53 4 24
get_combined_inventory_data()
S
56 3 20
get_individual_inventory_data()
S
58 3 17
set_bool_value()
S
70 4 6
is_livemode()
S
61 3 12
maybe_register_hooks()
S
65 3 10
get_inventory_behavior()
S
64 3 10
has_forced_fee_recovery()
S
61 2 13
__construct()
S
61 2 13
get_email_confirmation_message()
S
79 1 3
get_confirmation_message()
S
79 1 3
get_email_notification_message()
S
79 1 3
has_fee_recovery()
S
100 1 0
is_managing_inventory()
S
74 1 4
get_display_type()
S
79 1 3
register_hooks()
S
98 1 1
allows_multiple_line_items()
S
78 1 3